<template>
	<view class="content">
		<image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
		<view aij="登录会员" class="login-form-content">
		  <view class="input-item flex align-center">
			<view class="iconfont icon-user icon"></view>
			<input aij="输入账号" v-model="loginForm.username" class="input" type="text" placeholder="请输入账号" maxlength="30" />
		  </view>
		  <view class="input-item flex align-center">
			<view class="iconfont icon-password icon"></view>
			<input aij="输入密码" v-model="loginForm.password" type="password" class="input" placeholder="请输入密码" maxlength="20" />
		  </view>
		  <view class="input-item flex align-center" style="width: 60%;margin: 0px;">
			<view class="iconfont icon-code icon"></view>
			<input aij="输入验证码" v-model="loginForm.code" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
		  </view>
		  <view class="action-btn">
			<button aij="提交登录会员" @click="handleLogin" class="login-btn cu-btn block bg-blue lg round">登录</button>
		  </view>
		</view>
		<ai2cg-aij>Aij</ai2cg-aij>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello',
				loginForm: {
				  username: "admin",
				  password: "admin123",
				  code: "",
				  uuid: ''
				}
			}
		},
		onLoad() {

		},
		methods: {
			// 登录方法
			async handleLogin() {
				console.log('login');
			},
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
